p4f

Section: User Commands (1)
Updated: 1 January 1992
Index Return to Main Contents

 

NAME

p4f - the fortran interface to p4

 

DESCRIPTION

p4f is a package of procedures that support development of parallel programs that are portable across a wide variety of architectures. It is actually a fortran interface to the p4 parallel programming package. the synopsis section below defines the set of fortran routines that may be invoked from a fortran program.

 

SYNOPSIS


    #include "p4f.h"


    p4init()
    p4crpg()
    p4cleanup()
    p4sendr(type,dest,msg,len,rc)
    p4sendrx(type,dest,msg,len,data_type,rc)
    p4send(type,dest,msg,len,rc)
    p4sendx(type,dest,msg,len,data_type,rc)
    p4recv(type,from,buf,buflen,msglen,rc)
    p4brdcst(type,data,len,rc)
    p4brdcstx(type,data,len,data_type,rc)
    p4probe(type,from,rc)
    p4myclid()
    p4nclids()
    p4getclids(start,end)
    p4globarr(type)
    p4getclmasts(numids,ids)
    p4myid()
    p4clock()
    p4ustimer()
    p4ntotids()
    p4nslaves()
    p4error(str,val)
    p4avlbufs()
    p4softerrs(new,old)
    p4version()
    p4flush()
    p4globop(type,x,nelem,size,op,data_type,rc)
       p4_int_sum_op()
       p4_int_absmax_op()
       p4_int_absmin_op()
       p4_int_max_op()
       p4_int_min_op()
       p4_int_mult_op()
       p4_dbl_sum_op()
       p4_dbl_absmax_op()
       p4_dbl_absmin_op()
       p4_dbl_max_op()
       p4_dbl_min_op()
       p4_dbl_mult_op()
       p4_flt_sum_op()
       p4_flt_absmax_op()
       p4_flt_absmin_op()
       p4_flt_max_op()
       p4_flt_min_op()
       p4_flt_mult_op()

 

OPTIONS

Several command line options are available to any program linked to the p4 package.
-pg         procgroup_file
-dbg        set debug level
-rdbg        set remote debug level
-gm        set globmemsize
-dmn        domainname
-out        file    output file for master
-rout        file    output file prefix for remote masters
-p4version   print the current p4 version number
-help        get this information


 

FILES

p4f.h, libp4.a libp4f.a - see your systems administrator for the installed location

 

DIAGNOSTICS

p4 generates a wide variety of diagnostic messages. See the user manual for more details.

 

EXAMPLE EXECUTION

To invoke a program linked with p4 using a procgroup file:
myprogram -pg procgroup_file_name

 

SEE ALSO

socket,etc.

 

BUGS

There are no known bugs at this time, but stay tuned.


 

Index

NAME
DESCRIPTION
SYNOPSIS
OPTIONS
FILES
DIAGNOSTICS
EXAMPLE EXECUTION
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 00:31:21 GMT, March 30, 2022